package org.jcms.model;

import java.sql.Timestamp;

/**
 * Order entity. @author MyEclipse Persistence Tools
 */

public class Order implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String orderId;
	private State state;
	private Customer customer;
	private Timestamp orderTime;
	private Double orderSum;

	public Order() {
		super();
	}

	public Order(String orderId, State state, Customer customer,
			Timestamp orderTime, Double orderSum) {
		super();
		this.orderId = orderId;
		this.state = state;
		this.customer = customer;
		this.orderTime = orderTime;
		this.orderSum = orderSum;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public State getState() {
		return state;
	}

	public void setState(State state) {
		this.state = state;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public Timestamp getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(Timestamp orderTime) {
		this.orderTime = orderTime;
	}

	public Double getOrderSum() {
		return orderSum;
	}

	public void setOrderSum(Double orderSum) {
		this.orderSum = orderSum;
	}

}